import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import time from 'moment'
const echarts = require('echarts');
import 'echarts-liquidfill'
// import BaiduMap from 'vue-baidu-map'

// Vue.use(BaiduMap,{ak:'r6qvYjuCYtTvcc1nEn1TiUeVoCbum5uX'})
Vue.use(ElementUI);
Vue.prototype.$http=axios
Vue.prototype.$echarts=echarts
// axios.defaults.baseURL = 'http://192.144.210.38:3001/api';//生产环境
axios.defaults.baseURL = 'http://localhost:3000/api'
Vue.config.productionTip = false
Vue.prototype.$time=time

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
